{% extends "base.html" %}

{% block title %}Teams{% endblock %}

{% block breadcrumbs %}{{ block.super }} &rsaquo; Teams{% endblock %}

{% block content %}
{% if team_list %}
  <table>
   <tr><th>Bib Number</th><th>Team Name</th></tr>
  {% for team in team_list %}
   <tr><td align='right'>{{ team.number }}</td><td><a href="/team/{{ team.id }}/">{{ team.name }}</a></td></tr>
  {% endfor %}
  </table>
{% else %}
  <p>No teams available.</p>
{% endif %}
{% endblock %}
